<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" type="text/css" href="../css/lib.css">
<script src="../js/lib-all.js"></script>
<style>
body{TEXT-ALIGN: center;}
.c{ MARGIN-RIGHT: auto;MARGIN-LEFT: auto;}
</style>
</head>
<body>
<div class="c">
<form>
<div class="form-group">
<div class="label"><label>分类</label></div>
<div class="field"><select class="J_select input" dataType="Require"></select>
<input type="hidden" id="cateInput" name="datacate_id" /></div>
</div>
</form>
</div>
</body>

<script>
$(document).ready(function($){
  $('.J_select').asnycSelect({
		linkage:true,
		actionUrl:'/api/shop/cates/pid/_PID_',
		valtarget:'#cateInput',
		params:'',
		maxlevel:2
	});
});
</script>
</html>


